package org.jeecg.modules.hc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.modules.hc.enums.HcIsFlagEnum;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.List;

/**
 * @Description: 站点地址明细
 * @Author: jeecg-boot
 * @Date: 2022-12-13
 * @Version: V1.0
 */
@Data
@TableName("hc_site_address_details")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "hc_site_address_details对象", description = "站点地址明细")
public class HcSiteAddressDetails implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private List<HcMerchantCommission> hcMerchantCommissionList;

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
    /**
     * 站点ID
     */
    @Excel(name = "站点ID", width = 15)
    @ApiModelProperty(value = "站点ID")
    @Dict(dictTable = "HC_SITE", dicCode = "ID", dicText = "NAME")
    private java.lang.String siteId;
    /**
     * 大厦名
     */
    @Excel(name = "大厦名", width = 15)
    @ApiModelProperty(value = "大厦名")
    private java.lang.String addressName;
    /**
     * 供应地址
     */
    @Excel(name = "供应地址", width = 15)
    @ApiModelProperty(value = "供应地址")
    private java.lang.String supplyAddress;
    /**
     * 骑手
     */
    @Excel(name = "骑手", width = 15)
    @ApiModelProperty(value = "骑手")
    private java.lang.String nameRider;
    /**
     * 经度
     */
    @Excel(name = "经度", width = 15)
    @ApiModelProperty(value = "经度")
    private java.math.BigDecimal longitude;
    /**
     * 纬度
     */
    @Excel(name = "纬度", width = 15)
    @ApiModelProperty(value = "纬度")
    private java.math.BigDecimal latitude;
    /**
     * 佣金
     */
    @Excel(name = "佣金", width = 15)
    @ApiModelProperty(value = "佣金")
    private java.math.BigDecimal commission;

    @TableField(exist = false)
    @ApiModelProperty(value = "楼层名称")
    private java.lang.String supplyAddressName;

    @TableField(exist = false)
    @ApiModelProperty(value = "楼层代号")
    private java.lang.String supplyAddressCode;

    @TableField(exist = false)
    @ApiModelProperty(value = "取餐点图片")
    private java.lang.String supplyAddressImg;

    @TableField(exist = false)
    @ApiModelProperty(value = "是否展示取餐地址")
    private java.lang.String isShowAddress;

    @ApiModelProperty(value = "状态")
    private HcIsFlagEnum state;
}
